'use strict';
exports.main = async (event, context) => {
	//event为客户端上传的参数
	const db = uniCloud.database()
	const col =  db.collection('images_list')
	const res = await col.add(event)
	console.log('event : ', event)	
	//返回数据给客户端
	return res
};
